package regex;

/**
 * created by flyketch
 * 19-10-10 上午9:14
 */
public class RegexTest {

    public static void main(String[] args) {
        String name = "abc.png";
        String[] res = name.split("\\.");
        System.out.println(res[0]);
        System.out.println(res[1]);

        System.out.println(res.length);
        System.out.println(res.toString());
    }
}
